package com.my.mapper;

import com.my.pojo.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    //更新角色
    public void updateRole(Role role);
    //查询所有
    public List<Role> searcherAllRole();
    //根据id来查询角色
    public Role searcherByID(int id);
}
